import React from 'react'
import { Link } from "react-router-dom"
import "./List.css"
// import "./goods.css"
function Goods(props) {
    let { cateList } = props
    return (
        <div className="home_list">
            {cateList.map((item) => (
                <Link className="home_list_link" to={"/index/cate?id="+item.id} key={item.id}>{item.catename}</Link>
            ))}
        </div>
    )
}
export default React.memo(Goods);